package operator.condition;


import io.reactivex.Observable;
import util.RxJavaHelper;

class ExistsOperator {

    public static void main(String[] args) {
        isEmpty1();
        isEmpty2();
    }

    static void isEmpty1(){
        Observable.just(1)
                .isEmpty()
                .subscribe(RxJavaHelper.getSingleConsumer());
    }


    static void isEmpty2(){
        Observable.empty()
                .isEmpty()
                .subscribe(RxJavaHelper.getSingleConsumer());
    }



}
